var express = require('express');
var router = express.Router();

var adminUserController = require('../../../api/v1/admin/user');

router.get('/', adminUserController.getUserPage);
router.get('/:id', adminUserController.getUserById);
router.post('/', adminUserController.addUser);
router.put('/:id', adminUserController.updateUser);
router.delete('/', adminUserController.deleteUser);

module.exports = router;